package org.ruoyi.chat.domain;

import lombok.Data;

import java.io.Serializable;

@Data
public class TaskResult implements Serializable {
    private String status; // PROCESSING/COMPLETED/FAILED
    private String result; // 结果URL或错误信息
    private int progress;  // 进度百分比

    // 构造方法、getter、setter
    public TaskResult(String status, String result, int progress) {
        this.status = status;
        this.result = result;
        this.progress = progress;
    }
}
